﻿--[[
   @brief    supr mult account mgr model
   @author   maxyao
   @version  1.0
   @date     2017-03-14
--]]

super_multi_account_mgr_model = {
    
    primary_uin = 0;
    super_multi_account_mgr_page_url = LoadStr("SOCIA_SUPER_MUTIACC_URL");
    cur_game_id = 0;
    show_dlg = false;
    op_from = 120009;
    report_sub_id = 1101;
    op_type = {
        OP_OPEN_SUPER_MULTI_ACCOUNT_DLG = 1,
        OP_CLOSE_SUPER_MULTI_ACCOUNT_DLG = 0
    };

    sub_account_opt = {
        unbind = 0,
        bind = 1,
        other = 2
    };
    using_super_multi_account  = false;

    init_primary_uin = function(event_id, json_str)
        local param = base_utility.json_to_table(json_str);
        super_multi_account_mgr_model.primary_uin = param.uin;
    end;

    init = function()
    end;
}

super_multi_account_mgr_model.init();
    